/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package fatclientnbp;

import AirLine.Airport;
import Database.Airports;
import java.sql.Timestamp;
import java.util.ArrayList;

/**
 *
 * @author smulle
 */
public class SearchParameters {
    
    private Airport from;
    
    private Airport to;
    
    private int passangers;
    
    private int sortingOrder;
    
    private Timestamp earliestDepartureTime;
    
    private Airports airports;
    
    
    
    private ArrayList<String> airlines;
    
    public SearchParameters(Airport from, Airport to, int passengers, int sortingOrder, Timestamp earliestDepartureTime, Airports airports, ArrayList<String> airlineList) {
        this.from = from;
        this.to = to;
        this.passangers = passengers;
        this.sortingOrder = sortingOrder;
        this.earliestDepartureTime = earliestDepartureTime;
        this.airports = airports;
        this.airlines = airlineList;
        
        
        
    }

    

    public Airport getFrom() {
        return from;
    }

    public Airport getTo() {
        return to;
    }

    public int getPassangers() {
        return passangers;
    }

    public int getSortingOrder() {
        return sortingOrder;
    }

    public Timestamp getEarliestDepartureTime() {
        return earliestDepartureTime;
    }

    public Airports getAirports() {
        return airports;
    }

    public ArrayList<String> getAirlines() {
        return airlines;
    }


    
    

}
